package it.polimi.TravelDream;

import javax.validation.constraints.*;

import org.hibernate.validator.constraints.*;


public class HotelDTO {
	
	private int id;
	
	@NotEmpty
	private String address;
	
	@NotNull
	@Range(min=0)
	private int cap;
	
	@NotEmpty
	private String category;
	
	@NotEmpty
	private String city;
	
	@NotEmpty
	private String country;
	
	@NotEmpty
	private String description;

	@NotEmpty
	private String name;

	@NotNull
	private int price_Night;
	
	private String website;

//	private User user;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getCap() {
		return cap;
	}

	public void setCap(int cap) {
		this.cap = cap;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPrice_Night() {
		return price_Night;
	}

	public void setPrice_Night(int price_Night) {
		this.price_Night = price_Night;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

//	public User getUser() {
//		return user;
//	}
//
//	public void setUser(User user) {
//		this.user = user;
//	}


}
